package com.example.demo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yishuangshuang
 * @ClassName: StringJoinSubList
 * @Description: TODO
 * @date 2019/1/18 9:21 AM
 */
public class StringJoinSubList {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("121");
        list.add("333");
        String str = String.join(",", list);
        System.out.println(str);

        System.out.println(list.subList(1, list.size()));
    }
}
